package com.example.androidtraining_ahut2020;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

public class MainActivityDay09LoginSuccess extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_day09_login_success);
        final TextView textView = findViewById(R.id.textView2);
        String userName = getIntent().getExtras().getString("user");

        textView.setText("Welcome " + userName);
    }
}